package com.shelpe.services.simbasync.mongorepository;

import java.util.Date;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.simbasync.model.mongo.WordInsightMetric;


public interface KeywordMetricRepository extends PagingAndSortingRepository<WordInsightMetric, String> {

	
	int countByWordAndScopeEndTime(String word, Date endTime);
	
	void deleteByScopeEndTime(Date endTime);
	
}
